package com.mycompany.myapp.web.rest;

import com.mycompany.myapp.repository.DepartmentAuthorityRepository;
import com.mycompany.myapp.service.DepartmentAuthorityQueryService;
import com.mycompany.myapp.service.DepartmentAuthorityService;
import com.mycompany.myapp.web.rest.base.DepartmentAuthorityBaseResource;
import io.swagger.annotations.Api;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.*;

// jhipster-needle-add-import - JHipster will add getters and setters here, do not remove

/**

 * 管理实体{@link com.mycompany.myapp.domain.DepartmentAuthority}的REST Controller。
 */
@RestController
@RequestMapping("/api")
@Api(value = "department-authorities", tags = "部门角色API接口")
public class DepartmentAuthorityResource extends DepartmentAuthorityBaseResource {

    private final Logger log = LoggerFactory.getLogger(DepartmentAuthorityResource.class);

    public DepartmentAuthorityResource(
        DepartmentAuthorityService departmentAuthorityService,
        DepartmentAuthorityRepository departmentAuthorityRepository,
        DepartmentAuthorityQueryService departmentAuthorityQueryService
    ) {
        super(departmentAuthorityService, departmentAuthorityRepository, departmentAuthorityQueryService);
    }
    // jhipster-pro-please-regenerate-this-file 如果您修改了此文件，并且不希望重新生成代码时被覆盖，请删除本行！！！
}
